3.4.13 \(\int \frac {x^2}{(a+b x^3)^2 \sqrt {c+d x^3}} \, dx\)

Optimal. Leaf size=87 \[ \frac {d \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 \sqrt {b} (b c-a d)^{3/2}}-\frac {\sqrt {c+d x^3}}{3 \left (a+b x^3\right ) (b c-a d)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {444, 51, 63, 208} \begin {gather*} \frac {d \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 \sqrt {b} (b c-a d)^{3/2}}-\frac {\sqrt {c+d x^3}}{3 \left (a+b x^3\right ) (b c-a d)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2/((a + b*x^3)^2*Sqrt[c + d*x^3]),x]

[Out]

-Sqrt[c + d*x^3]/(3*(b*c - a*d)*(a + b*x^3)) + (d*ArcTanh[(Sqrt[b]*Sqrt[c + d*x^3])/Sqrt[b*c - a*d]])/(3*Sqrt[
b]*(b*c - a*d)^(3/2))

Rule 51

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*(m + n + 2))/((b*c - a*d)*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^n,
x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && LtQ[m, -1] &&  !(LtQ[n, -1] && (EqQ[a, 0] || (NeQ[
c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && IntLinearQ[a, b, c, d, m, n, x]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rule 444

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && EqQ[m
- n + 1, 0]

Rubi steps

\begin {align*} \int \frac {x^2}{\left (a+b x^3\right )^2 \sqrt {c+d x^3}} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{(a+b x)^2 \sqrt {c+d x}} \, dx,x,x^3\right )\\ &=-\frac {\sqrt {c+d x^3}}{3 (b c-a d) \left (a+b x^3\right )}-\frac {d \operatorname {Subst}\left (\int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx,x,x^3\right )}{6 (b c-a d)}\\ &=-\frac {\sqrt {c+d x^3}}{3 (b c-a d) \left (a+b x^3\right )}-\frac {\operatorname {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x^3}\right )}{3 (b c-a d)}\\ &=-\frac {\sqrt {c+d x^3}}{3 (b c-a d) \left (a+b x^3\right )}+\frac {d \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 \sqrt {b} (b c-a d)^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.10, size = 85, normalized size = 0.98 \begin {gather*} \frac {1}{3} \left (\frac {\sqrt {c+d x^3}}{\left (a+b x^3\right ) (a d-b c)}+\frac {d \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {a d-b c}}\right )}{\sqrt {b} (a d-b c)^{3/2}}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2/((a + b*x^3)^2*Sqrt[c + d*x^3]),x]

[Out]

(Sqrt[c + d*x^3]/((-(b*c) + a*d)*(a + b*x^3)) + (d*ArcTan[(Sqrt[b]*Sqrt[c + d*x^3])/Sqrt[-(b*c) + a*d]])/(Sqrt
[b]*(-(b*c) + a*d)^(3/2)))/3

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.11, size = 97, normalized size = 1.11 \begin {gather*} -\frac {\sqrt {c+d x^3}}{3 \left (a+b x^3\right ) (b c-a d)}-\frac {d \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3} \sqrt {a d-b c}}{b c-a d}\right )}{3 \sqrt {b} (a d-b c)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[x^2/((a + b*x^3)^2*Sqrt[c + d*x^3]),x]

[Out]

-1/3*Sqrt[c + d*x^3]/((b*c - a*d)*(a + b*x^3)) - (d*ArcTan[(Sqrt[b]*Sqrt[-(b*c) + a*d]*Sqrt[c + d*x^3])/(b*c -
 a*d)])/(3*Sqrt[b]*(-(b*c) + a*d)^(3/2))

________________________________________________________________________________________

fricas [B]  time = 0.89, size = 302, normalized size = 3.47 \begin {gather*} \left [-\frac {{\left (b d x^{3} + a d\right )} \sqrt {b^{2} c - a b d} \log \left (\frac {b d x^{3} + 2 \, b c - a d - 2 \, \sqrt {d x^{3} + c} \sqrt {b^{2} c - a b d}}{b x^{3} + a}\right ) + 2 \, \sqrt {d x^{3} + c} {\left (b^{2} c - a b d\right )}}{6 \, {\left (a b^{3} c^{2} - 2 \, a^{2} b^{2} c d + a^{3} b d^{2} + {\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2}\right )} x^{3}\right )}}, -\frac {{\left (b d x^{3} + a d\right )} \sqrt {-b^{2} c + a b d} \arctan \left (\frac {\sqrt {d x^{3} + c} \sqrt {-b^{2} c + a b d}}{b d x^{3} + b c}\right ) + \sqrt {d x^{3} + c} {\left (b^{2} c - a b d\right )}}{3 \, {\left (a b^{3} c^{2} - 2 \, a^{2} b^{2} c d + a^{3} b d^{2} + {\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2}\right )} x^{3}\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(b*x^3+a)^2/(d*x^3+c)^(1/2),x, algorithm="fricas")

[Out]

[-1/6*((b*d*x^3 + a*d)*sqrt(b^2*c - a*b*d)*log((b*d*x^3 + 2*b*c - a*d - 2*sqrt(d*x^3 + c)*sqrt(b^2*c - a*b*d))
/(b*x^3 + a)) + 2*sqrt(d*x^3 + c)*(b^2*c - a*b*d))/(a*b^3*c^2 - 2*a^2*b^2*c*d + a^3*b*d^2 + (b^4*c^2 - 2*a*b^3
*c*d + a^2*b^2*d^2)*x^3), -1/3*((b*d*x^3 + a*d)*sqrt(-b^2*c + a*b*d)*arctan(sqrt(d*x^3 + c)*sqrt(-b^2*c + a*b*
d)/(b*d*x^3 + b*c)) + sqrt(d*x^3 + c)*(b^2*c - a*b*d))/(a*b^3*c^2 - 2*a^2*b^2*c*d + a^3*b*d^2 + (b^4*c^2 - 2*a
*b^3*c*d + a^2*b^2*d^2)*x^3)]

________________________________________________________________________________________

giac [A]  time = 0.16, size = 93, normalized size = 1.07 \begin {gather*} -\frac {d \arctan \left (\frac {\sqrt {d x^{3} + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{3 \, \sqrt {-b^{2} c + a b d} {\left (b c - a d\right )}} - \frac {\sqrt {d x^{3} + c} d}{3 \, {\left ({\left (d x^{3} + c\right )} b - b c + a d\right )} {\left (b c - a d\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(b*x^3+a)^2/(d*x^3+c)^(1/2),x, algorithm="giac")

[Out]

-1/3*d*arctan(sqrt(d*x^3 + c)*b/sqrt(-b^2*c + a*b*d))/(sqrt(-b^2*c + a*b*d)*(b*c - a*d)) - 1/3*sqrt(d*x^3 + c)
*d/(((d*x^3 + c)*b - b*c + a*d)*(b*c - a*d))

________________________________________________________________________________________

maple [C]  time = 0.26, size = 457, normalized size = 5.25 \begin {gather*} -\frac {i \left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {\frac {i \left (2 x +\frac {-i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right ) d}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {\left (x -\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right ) d}{-3 \left (-c \,d^{2}\right )^{\frac {1}{3}}+i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {-\frac {i \left (2 x +\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right ) d}{2 \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \left (2 \RootOf \left (\textit {\_Z}^{3} b +a \right )^{2} d^{2}+i \left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {3}\, \RootOf \left (\textit {\_Z}^{3} b +a \right ) d -\left (-c \,d^{2}\right )^{\frac {1}{3}} \RootOf \left (\textit {\_Z}^{3} b +a \right ) d -i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {2}{3}}-\left (-c \,d^{2}\right )^{\frac {2}{3}}\right ) \EllipticPi \left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}-\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right ) \sqrt {3}\, d}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}}{3}, \frac {\left (2 i \left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {3}\, \RootOf \left (\textit {\_Z}^{3} b +a \right )^{2} d +i \sqrt {3}\, c d -3 c d -i \left (-c \,d^{2}\right )^{\frac {2}{3}} \sqrt {3}\, \RootOf \left (\textit {\_Z}^{3} b +a \right )-3 \left (-c \,d^{2}\right )^{\frac {2}{3}} \RootOf \left (\textit {\_Z}^{3} b +a \right )\right ) b}{2 \left (a d -b c \right ) d}, \sqrt {\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{\left (-\frac {3 \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}+\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right ) d}}\right )}{6 d \left (a d -b c \right )^{2} \sqrt {d \,x^{3}+c}}+\frac {\sqrt {d \,x^{3}+c}}{3 \left (a d -b c \right ) \left (b \,x^{3}+a \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(b*x^3+a)^2/(d*x^3+c)^(1/2),x)

[Out]

1/3/(a*d-b*c)*(d*x^3+c)^(1/2)/(b*x^3+a)-1/6*I/d*2^(1/2)*sum(1/(a*d-b*c)^2*(-c*d^2)^(1/3)*(1/2*I*(2*x+(-I*3^(1/
2)*(-c*d^2)^(1/3)+(-c*d^2)^(1/3))/d)/(-c*d^2)^(1/3)*d)^(1/2)*((x-(-c*d^2)^(1/3)/d)/(-3*(-c*d^2)^(1/3)+I*3^(1/2
)*(-c*d^2)^(1/3))*d)^(1/2)*(-1/2*I*(2*x+(I*3^(1/2)*(-c*d^2)^(1/3)+(-c*d^2)^(1/3))/d)/(-c*d^2)^(1/3)*d)^(1/2)/(
d*x^3+c)^(1/2)*(2*_alpha^2*d^2+I*(-c*d^2)^(1/3)*3^(1/2)*_alpha*d-(-c*d^2)^(1/3)*_alpha*d-I*3^(1/2)*(-c*d^2)^(2
/3)-(-c*d^2)^(2/3))*EllipticPi(1/3*3^(1/2)*(I*(x+1/2*(-c*d^2)^(1/3)/d-1/2*I*3^(1/2)*(-c*d^2)^(1/3)/d)*3^(1/2)/
(-c*d^2)^(1/3)*d)^(1/2),1/2*(2*I*(-c*d^2)^(1/3)*3^(1/2)*_alpha^2*d+I*3^(1/2)*c*d-3*c*d-I*(-c*d^2)^(2/3)*3^(1/2
)*_alpha-3*(-c*d^2)^(2/3)*_alpha)/(a*d-b*c)*b/d,(I*3^(1/2)*(-c*d^2)^(1/3)/(-3/2*(-c*d^2)^(1/3)/d+1/2*I*3^(1/2)
*(-c*d^2)^(1/3)/d)/d)^(1/2)),_alpha=RootOf(_Z^3*b+a))

________________________________________________________________________________________

maxima [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(b*x^3+a)^2/(d*x^3+c)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(a*d-b*c>0)', see `assume?` for
 more details)Is a*d-b*c positive or negative?

________________________________________________________________________________________

mupad [B]  time = 6.37, size = 104, normalized size = 1.20 \begin {gather*} -\frac {2\,b\,\sqrt {d\,x^3+c}}{3\,\left (b\,x^3+a\right )\,\left (2\,b^2\,c-2\,a\,b\,d\right )}+\frac {d\,\ln \left (\frac {2\,b\,c-a\,d+b\,d\,x^3+\sqrt {b}\,\sqrt {d\,x^3+c}\,\sqrt {a\,d-b\,c}\,2{}\mathrm {i}}{b\,x^3+a}\right )\,1{}\mathrm {i}}{6\,\sqrt {b}\,{\left (a\,d-b\,c\right )}^{3/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/((a + b*x^3)^2*(c + d*x^3)^(1/2)),x)

[Out]

(d*log((2*b*c - a*d + b^(1/2)*(c + d*x^3)^(1/2)*(a*d - b*c)^(1/2)*2i + b*d*x^3)/(a + b*x^3))*1i)/(6*b^(1/2)*(a
*d - b*c)^(3/2)) - (2*b*(c + d*x^3)^(1/2))/(3*(a + b*x^3)*(2*b^2*c - 2*a*b*d))

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(b*x**3+a)**2/(d*x**3+c)**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________